package com.aeye.mbr.common.plugin.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

/**
 * 降级实现BaseService抽象类
 * Created by chengshengru on 17-9-1.
 */
public abstract class BaseServiceMock<T> implements BaseService<T>{
    @Override
    public List<T> select(T entity) {
        return null;
    }

    @Override
    public T selectByPrimaryKey(Object key) {
        return null;
    }

    @Override
    public List<T> selectAll() {
        return null;
    }

    @Override
    public T selectOne(T entity) {
        return null;
    }

    @Override
    public int selectCount(T entity) {
        return 0;
    }

    @Override
    public int insert(T entity) {
        return 0;
    }

    @Override
    public int insertSelective(T entity) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(T entity) {
        return 0;
    }

    @Override
    public int updateByPrimaryKeySelective(T entity) {
        return 0;
    }

    @Override
    public int delete(T entity) {
        return 0;
    }

    @Override
    public int deleteByPrimaryKey(Object key) {
        return 0;
    }

    @Override
    public List<T> selectByExample(Object example) {
        return null;
    }

    @Override
    public int selectCountByExample(Object example) {
        return 0;
    }

    @Override
    public int updateByExample(@Param("record") T record, @Param("example") Object example) {
        return 0;
    }

    @Override
    public int updateByExampleSelective(@Param("record") T record, @Param("example") Object example) {
        return 0;
    }

    @Override
    public int deleteByExample(Object example) {
        return 0;
    }

    @Override
    public List<T> selectByCondition(Object condition) {
        return null;
    }

    @Override
    public int selectCountByCondition(Object condition) {
        return 0;
    }

    @Override
    public int updateByCondition(@Param("record") T record, @Param("example") Object condition) {
        return 0;
    }

    @Override
    public int updateByConditionSelective(@Param("record") T record, @Param("example") Object condition) {
        return 0;
    }

    @Override
    public int deleteByCondition(Object condition) {
        return 0;
    }

    @Override
    public List<T> selectByRowBounds(T record, RowBounds rowBounds) {
        return null;
    }

    @Override
    public List<T> selectByExampleAndRowBounds(Object example, RowBounds rowBounds) {
        return null;
    }

    @Override
    public List<T> selectPage(int pageNum, int pageSize, T entity) {
        return null;
    }

    @Override
    public List<T> selectPageByExample(int pageNum, int pageSize, Object example) {
        return null;
    }

    @Override
    public List<T> selectPageByExampleAndRowBounds(int pageNum, int pageSize, Object example, RowBounds rowBounds) {
        return null;
    }

    @Override
    public List<T> selectByIds(String ids) {
        return null;
    }

    @Override
    public int deleteByIds(String ids) {
        return 0;
    }

    @Override
    public int deleteByPrimaryKeys(String ids) {
        return 0;
    }
}
